package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel("商机实体")
public class ClientCrmBusiness implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "商机名称")
    private String businessName;

    @ApiModelProperty(value = "对应客户")
    private String privateCustomerCustomer;

    @ApiModelProperty(value = "预计销售金额")
    private BigDecimal estimatedSalesAmount;

    @ApiModelProperty(value = "预计签单日期")
    private String estimatedSigningDate;

    @ApiModelProperty(value = "所属部门")
    private String department;

    @ApiModelProperty(value = "签单可能性")
    private String signingPossibility;

    @ApiModelProperty(value = "主归属公司")
    private String mainOwningCompany;

    @ApiModelProperty(value = "副归属公司")
    private String subsidiaryCompany;

    @ApiModelProperty(value = "主归属公司")
    private Integer mainOwningCompanyid;

    @ApiModelProperty(value = "副归属公司")
    private Integer subsidiaryCompanyId;

    @ApiModelProperty(value = "更新于")
    private String updatedOn;

    @ApiModelProperty(value = "商机类型")
    private String businessType;

    @ApiModelProperty(value = "商机获取日期")
    private String businessGetdate;

    @ApiModelProperty(value = "商机来源")
    private String businessSource;

    @ApiModelProperty(value = "预设要点")
    private String defaultPoint;

    @ApiModelProperty(value = "案件类型")
    private String caseType;

    @ApiModelProperty(value = "暂定交底名称")
    private String pauseName;

    @ApiModelProperty(value = "技术要点")
    private String technicalPoints;

    @ApiModelProperty(value = "摘要")
    private String abstractText;

    @ApiModelProperty(value = "商机来源")
    private Integer businessSourceid;

    @ApiModelProperty(value = "案件类型")
    private Integer caseTypeid;

    @ApiModelProperty(value = "前业务人员")
    private String oldFieldStaff;

    @ApiModelProperty(value = "业务人员")
    private String fieldStaff;

    @ApiModelProperty(value = "业务人员")
    private Integer fieldStaffId;

    @ApiModelProperty(value = "协作人")
    private String collaborator;

    @ApiModelProperty(value = "协作人")
    private Integer collaboratorId;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "跟进状态")
    private String followupStatus;

    @ApiModelProperty(value = "下次跟进时间")
    private Integer nextTime;

    @ApiModelProperty(value = "联系人")
    private String contacts;

    @ApiModelProperty(value = "联系人id")
    private Integer contactsId;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "创建人Id")
    private Integer creatorid;

    @ApiModelProperty(value = "操作人")
    private Integer userId;

    @ApiModelProperty(value = "操作人")
    private String userName;

    @ApiModelProperty(value = "是否删除")
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "更新时间")
    private Long updateTime;

    @ApiModelProperty(value = "删除时间")
    private Long deleteTime;

    @ApiModelProperty(value = "修改人编号")
    private Integer updateUserId;

    @ApiModelProperty(value = "修改人名称")
    private String updateUserName;

}